package server;

import net.ServerInfo;

public interface GameHostProvider {

	/**
	 * @return True if there is a server available.
	 */
	public boolean hasAvailableServer();
	
	/**
	 * Tells the next server to start listening
	 * @return The location of the started server.
	 */
	public ServerInfo getNextServerAddress();
	
	/**
	 * Discards all resources associated with this provider.
	 */
	public void dispose();
	
}
